 <!-- 样本标注内容 -->
<template>  
        <div class="search">
            <el-row >
                <el-col :span="4">
                    <el-form-item label="项目名称">
                        <el-input v-model="input" placeholder ="请输入">
                            <template #append>
                                <el-button>
                                    <el-icon><Search /></el-icon>
                                </el-button>    
                            </template>
                        </el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="4">
                    <el-form-item  label="项目名称">
                        <el-select v-model="value"placeholder="请选择" clearable>
                            <el-option  v-for="item in option":key="item.value":label="item.label":value="item.value"/>
                        </el-select>
                    </el-form-item>
                </el-col>
                <el-col :span="4">
                    <el-form-item label="创建时间">
                        <el-date-picker
                        type="date"
                        v-model="time"
                        value-format="YYYY-MM-DD" 
                        placeholder="请选择采集日期"
                        />
                    </el-form-item>
                </el-col>
                <el-col :span="4" push="8">
                        <el-button type="primary" id="createNew">
                            新建标注项目
                        </el-button>
                </el-col>
            </el-row>
        </div>  
        <div class="buttom">
            <div class="empty">
                <img src="//g.alicdn.com/aie/portal/1.4.3/console-main/images/75e75323fab8eb06aa38.svg" >   
                <span>暂无数据</span>
            </div>
            
        </div>
    
</template>

<script lang="ts" setup>
    import { ref } from 'vue';
    const time = ref('');
    const value = ref('');
    const input = ref('')
    const option= [
        {
          value: "0",
          label: "目标检测",
        },
        {
          value: "1",
          label: "地物识别",
        },
        {
          value: "2",
          label: "通用变化检测",
        },
        {
          value: "3",
          label: "实例分割",
        },
        {
          value: "4",
          label: "地物分类",
        },
        {
          value: "5",
          label: "多分类变化检测",
        },
      ]
    

</script>

<style lang="scss" scoped>
.content{
    position: relative;
}
.search{
    margin: 20px;
}
.el-col{
    margin-left: 10px;
}
.buttom{
    //position: relative;
    /* border: 2px,solid,red; */
    height: 70vh;
}
.empty{
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;  
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(100,101,104);
}
// 输入框
 ::v-deep .el-input__wrapper{
    background-color: rgb(12,14,18);
    box-shadow:   0 0 0 1px  rgb(47,50,56);
}
//搜索按钮
::v-deep .el-input-group__append{
    background-color: rgb(12,14,18 );
    box-shadow:   0 0 0 1px  rgb(47,50,56);
}
//选择框
::v-deep .el-select__wrapper{
    background-color: rgb(12,14,18);
    box-shadow:   0 0 0 1px  rgb(47,50,56);
}
#createNew{
    background-color: #4584ff;
    width: 160px;
    position: absolute;
    right  : 20px;
}
</style>